<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{:C('WEB_SITE_TITLE')}</title>
    <meta name="Keywords" content="{:C('WEB_SITE_KEYWORD')}"/>
    <meta name="Description" content="{:C('WEB_SITE_DESCRIPTION')}"/>
    <!-- bootstrap - css -->
    <link href="__BJUI__/themes/css/bootstrap.css" rel="stylesheet">
    <!-- core - css -->
    <link href="__BJUI__/themes/css/style.css" rel="stylesheet">
    <link href="__BJUI__/themes/blue/core.css" id="bjui-link-theme" rel="stylesheet">
    <!-- plug - css -->
    <link href="__BJUI__/plugins/kindeditor_4.1.10/themes/default/default.css" rel="stylesheet">
    <link href="__BJUI__/plugins/colorpicker/css/bootstrap-colorpicker.min.css" rel="stylesheet">
    <link href="__BJUI__/plugins/niceValidator/jquery.validator.css" rel="stylesheet">
    <link href="__BJUI__/plugins/bootstrapSelect/bootstrap-select.css" rel="stylesheet">
    <link href="__BJUI__/plugins/bootstrap-progressbar/css/bootstrap-progressbar-3.0.3.css" rel="stylesheet">
    <link href="__BJUI__/plugins/bootstrap-progressbar/css/bootstrap-progressbar-3.0.3.css" rel="stylesheet">
    <link href="__BJUI__/themes/css/FA/css/font-awesome.min.css" rel="stylesheet">
    <!--[if lte IE 7]>
    <link href="__BJUI__/themes/css/ie7.css" rel="stylesheet">
    <![endif]-->
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lte IE 9]>
    <script src="__BJUI__/other/html5shiv.min.js"></script>
    <script src="__BJUI__/other/respond.min.js"></script>
    <![endif]-->
    <!-- jquery -->
    <script src="__BJUI__/js/jquery-1.7.2.min.js"></script>
    <script src="__BJUI__/js/jquery.md5.js"></script>
    <script src="__BJUI__/js/jquery.cookie.js"></script>
    <!--[if lte IE 9]>
    <script src="__BJUI__/other/jquery.iframe-transport.js"></script>
    <![endif]-->
    <!-- BJUI.all 分模块压缩版 -->
    <!--<script src="__BJUI__/js/bjui-all.js"></script>-->
    <script src="__MODULE__/Lodop/LodopFuncs.js"></script>
    <script src="__JS__/customPrint.js"></script>
    <script src="__MODULE__/artTemplate/template-native.js"></script>
    <!-- 以下是B-JUI的分模块未压缩版，建议开发调试阶段使用下面的版本 -->
<script src="__BJUI__/js/bjui-core.js"></script>
<script src="__BJUI__/js/bjui-regional.zh-CN.js"></script>
<script src="__BJUI__/js/bjui-frag.js"></script>
<script src="__BJUI__/js/bjui-extends.js"></script>
<script src="__BJUI__/js/bjui-basedrag.js"></script>
<script src="__BJUI__/js/bjui-slidebar.js"></script>
<script src="__BJUI__/js/bjui-contextmenu.js"></script>
<script src="__BJUI__/js/bjui-navtab.js"></script>
<script src="__BJUI__/js/bjui-dialog.js"></script>
<script src="__BJUI__/js/bjui-taskbar.js"></script>
<script src="__BJUI__/js/bjui-ajax.js"></script>
<script src="__BJUI__/js/bjui-alertmsg.js"></script>
<script src="__BJUI__/js/bjui-pagination.js"></script>
<script src="__BJUI__/js/bjui-util.date.js"></script>
<script src="__BJUI__/js/bjui-datepicker.js"></script>
<script src="__BJUI__/js/bjui-ajaxtab.js"></script>
<script src="__BJUI__/js/bjui-datagrid.js"></script>
<script src="__BJUI__/js/bjui-tablefixed.js"></script>
<script src="__BJUI__/js/bjui-tabledit.js"></script>
<script src="__BJUI__/js/bjui-spinner.js"></script>
<script src="__BJUI__/js/bjui-lookup.js"></script>
<script src="__BJUI__/js/bjui-tags.js"></script>
<script src="__BJUI__/js/bjui-upload.js"></script>
<script src="__BJUI__/js/bjui-theme.js"></script>
<script src="__BJUI__/js/bjui-initui.js"></script>
<script src="__BJUI__/js/bjui-plugins.js"></script>
<!-- plugins -->
<!-- swfupload for uploadify && kindeditor -->
<script src="__BJUI__/plugins/swfupload/swfupload.js"></script>
<!-- kindeditor -->
<script src="__BJUI__/plugins/kindeditor_4.1.10/kindeditor-all.min.js"></script>
<script src="__BJUI__/plugins/kindeditor_4.1.10/lang/zh_CN.js"></script>
<!-- colorpicker -->
<script src="__BJUI__/plugins/colorpicker/js/bootstrap-colorpicker.min.js"></script>
<!-- ztree -->
<script src="__BJUI__/plugins/ztree/jquery.ztree.all-3.5.js"></script>
<!-- nice validate -->
<script src="__BJUI__/plugins/niceValidator/jquery.validator.js"></script>
<script src="__BJUI__/plugins/niceValidator/jquery.validator.themes.js"></script>
<!-- bootstrap plugins -->
<script src="__BJUI__/plugins/bootstrap.min.js"></script>
<script src="__BJUI__/plugins/bootstrapSelect/bootstrap-select.min.js"></script>
<script src="__BJUI__/plugins/bootstrapSelect/defaults-zh_CN.min.js"></script>
<!-- icheck -->
<script src="__BJUI__/plugins/icheck/icheck.min.js"></script>
<!-- dragsort -->
<script src="__BJUI__/plugins/dragsort/jquery.dragsort-0.5.1.min.js"></script>
<!-- HighCharts -->
<script src="__BJUI__/plugins/highcharts/highcharts.js"></script>
<script src="__BJUI__/plugins/highcharts/highcharts-3d.js"></script>
<script src="__BJUI__/plugins/highcharts/themes/gray.js"></script>
<!-- ECharts -->
<script src="__BJUI__/plugins/echarts/echarts.js"></script>
<!-- other plugins -->
<script src="__BJUI__/plugins/other/jquery.autosize.js"></script>
<link href="__BJUI__/plugins/uploadify/css/uploadify.css" rel="stylesheet">
<script src="__BJUI__/plugins/uploadify/scripts/jquery.uploadify.min.js"></script>
<script src="__BJUI__/plugins/download/jquery.fileDownload.js"></script>
<script src="__BJUI__/plugins/bootstrap-progressbar/bootstrap-progressbar.js"></script>
<!-- init -->
<script type="text/javascript">
$(function() {
    BJUI.init({
        JSPATH       : '__BJUI__/',         //[可选]框架路径
        PLUGINPATH   : '__BJUI__/plugins/', //[可选]插件路径
        loginInfo    : {url:'login_timeout.html', title:'登录', width:400, height:200}, // 会话超时后弹出登录对话框
        statusCode   : {ok:200, both:250,error:300, timeout:301}, //[可选]
        ajaxTimeout  : 50000, //[可选]全局Ajax请求超时时间(毫秒)
        pageInfo     : {total:'total', pageCurrent:'pageCurrent', pageSize:'pageSize', orderField:'orderField', orderDirection:'orderDirection'}, //[可选]分页参数
        alertMsg     : {displayPosition:'topcenter', displayMode:'slide', alertTimeout:3000}, //[可选]信息提示的显示位置，显隐方式，及[info/correct]方式时自动关闭延时(毫秒)
        keys         : {statusCode:'statusCode', message:'message'}, //[可选]
        ui           : {
                         windowWidth      : 0, //框架显示宽度，0=100%宽，> 600为则居中显示
                         showSlidebar     : true, //[可选]左侧导航栏锁定/隐藏
                         clientPaging     : true, //[可选]是否在客户端响应分页及排序参数
                         overwriteHomeTab : false //[可选]当打开一个未定义id的navtab时，是否可以覆盖主navtab(我的主页)
                       },
        autoClose    : true,    // 自动关闭提示框的时间(毫秒)
        debug        : true,    // [可选]调试模式 [true|false，默认false]
        theme        : 'blue' // 若有Cookie['bjui_theme'],优先选择Cookie['bjui_theme']。皮肤[五种皮肤:default, orange, purple, blue, red, green]
    })

    // main - menu
    $('#bjui-accordionmenu')
        .collapse()
        .on('hidden.bs.collapse', function(e) {
            $(this).find('> .panel > .panel-heading').each(function() {
                var $heading = $(this), $a = $heading.find('> h4 > a')

                if ($a.hasClass('collapsed')) $heading.removeClass('active')
            })
        })
        .on('shown.bs.collapse', function (e) {
            $(this).find('> .panel > .panel-heading').each(function() {
                var $heading = $(this), $a = $heading.find('> h4 > a')

                if (!$a.hasClass('collapsed')) $heading.addClass('active')
            })
        })

    $(document).on('click', 'ul.menu-items li > a', function(e) {
        var $a = $(this), $li = $a.parent(), options = $a.data('options').toObj(), $children = $li.find('> .menu-items-children')
        var onClose = function() {
            $li.removeClass('active')
        }
        var onSwitch = function() {
            $('#bjui-accordionmenu').find('ul.menu-items li').removeClass('switch')
            $li.addClass('switch')
        }

        $li.addClass('active')
        if (options) {
            options.url      = $a.attr('href')
            options.onClose  = onClose
            options.onSwitch = onSwitch
            if (!options.title) options.title = $a.text()

            if (!options.target)
                $a.navtab(options)
            else
                $a.dialog(options)
        }
        if ($children.length) {
            $li.toggleClass('open')
        }

        e.preventDefault()
    })

    //时钟
    var today = new Date(), time = today.getTime()
    $('#bjui-date').html(today.formatDate('yyyy/MM/dd'))
    setInterval(function() {
        today = new Date(today.setSeconds(today.getSeconds() + 1))
        $('#bjui-clock').html(today.formatDate('HH:mm:ss'))
    }, 1000)
})

//菜单-事件
function MainMenuClick(event, treeId, treeNode) {
    event.preventDefault()

    if (treeNode.isParent) {
        var zTree = $.fn.zTree.getZTreeObj(treeId)

        zTree.expandNode(treeNode, !treeNode.open, false, true, true)
        return
    }

    if (treeNode.target && treeNode.target == 'dialog')
        $(event.target).dialog({id:treeNode.tabid, url:treeNode.url, title:treeNode.name})
    else
        $(event.target).navtab({id:treeNode.tabid, url:treeNode.url, title:treeNode.name, fresh:treeNode.fresh, external:treeNode.external})
}
</script>
<!-- 自定义通用js代码 -->
<script src="__JS__/common.js"></script>
<!-- for doc begin -->
<link type="text/css" rel="stylesheet" href="__JS__/syntaxhighlighter-2.1.382/styles/shCore.css"/>
<link type="text/css" rel="stylesheet" href="__JS__/syntaxhighlighter-2.1.382/styles/shThemeEclipse.css"/>
<script type="text/javascript" src="__JS__/syntaxhighlighter-2.1.382/scripts/brush.js"></script>
<!--<link href="doc/doc.css" rel="stylesheet">-->
<script type="text/javascript">
$(function(){
    SyntaxHighlighter.config.clipboardSwf = '__JS__/js/syntaxhighlighter-2.1.382/scripts/clipboard.swf'
    $(document).on(BJUI.eventType.initUI, function(e) {
        SyntaxHighlighter.highlight();
    })
})
</script>
<!-- for doc end -->
</head>
<body>
<!--[if lte IE 7]>
<div id="errorie">
    <div>
        您还在使用老掉牙的IE，正常使用系统前请升级您的浏览器到 IE8以上版本
        <a target="_blank" href="http://windows.microsoft.com/zh-cn/internet-explorer/ie-8-worldwide-languages">点击升级</a>
        &nbsp;&nbsp;强烈建议您更改换浏览器：
        <a href="http://down.tech.sina.com.cn/content/40975.html" target="_blank">谷歌 Chrome</a>
    </div>
</div>
<![endif]-->
<!--显示区-->
<div id="bjui-window">
    <!--页眉-->
    <header id="bjui-header">
        <!--logo-->
        <div class="bjui-navbar-header">
            <button type="button" class="bjui-navbar-toggle btn-default" data-toggle="collapse" data-target="#bjui-navbar-collapse"> <i class="fa fa-bars"></i>
            </button>
            <a class="bjui-navbar-logo" href="#">
                <!--<img src="__IMG__/logo.png" />-->
            </a>
        </div>
        <!--END-logo-->
        <!--用户操作-->
        <nav id="bjui-navbar-collapse">
            <ul class="bjui-navbar-right">
                <li class="datetime">
                    <div>
                        <span id="bjui-date"></span>
                        <span id="bjui-clock"></span>
                    </div>
                </li>
<!--                <li>
                    <a href="#">
                        消息
                        <span class="badge">4</span>
                    </a>
                </li>-->
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        我的账户
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu" role="menu">
                       <li><a href="{:U('user/updatePassword')}" data-toggle="dialog" data-id="changepwd_page" data-mask="true" data-width="500" data-height="260">&nbsp;<span class="glyphicon glyphicon-lock"></span> 修改密码&nbsp;</a></li>
                        <li><a href="{:U('user/updateNickname')}" data-toggle="dialog" data-id="changepwd_page" data-mask="true" data-width="500" data-height="260">&nbsp;<span class="glyphicon glyphicon-lock"></span> 修改资料&nbsp;</a></li>
                        <li class="divider"></li>
                        <li>
                            <a href="{:U('Public/logout')}" class="red">
                                &nbsp;
                                <span class="glyphicon glyphicon-off"></span>
                                注销登陆
                            </a>
                        </li>
                    </ul>
                </li>
<!--                <li>
                    <a href="index_tree.html" title="切换为树状导航(宽版)" style="background-color:#ff7b61;">树状导航栏(宽版)</a>
                </li>-->
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle theme blue" data-toggle="dropdown" title="切换皮肤"> <i class="fa fa-tree"></i>
                    </a>
                    <ul class="dropdown-menu" role="menu" id="bjui-themes">
                        <li>
                            <a href="javascript:;" class="theme_default" data-toggle="theme" data-theme="default">
                                &nbsp;
                                <i class="fa fa-tree"></i>
                                黑白分明&nbsp;&nbsp;
                            </a>
                        </li>
                        <li>
                            <a href="javascript:;" class="theme_orange" data-toggle="theme" data-theme="orange">
                                &nbsp;
                                <i class="fa fa-tree"></i>
                                橘子红了
                            </a>
                        </li>
                        <li>
                            <a href="javascript:;" class="theme_purple" data-toggle="theme" data-theme="purple">
                                &nbsp;
                                <i class="fa fa-tree"></i>
                                紫罗兰
                            </a>
                        </li>
                        <li class="active">
                            <a href="javascript:;" class="theme_blue" data-toggle="theme" data-theme="blue">
                                &nbsp;
                                <i class="fa fa-tree"></i>
                                天空蓝
                            </a>
                        </li>
                        <li>
                            <a href="javascript:;" class="theme_green" data-toggle="theme" data-theme="green">
                                &nbsp;
                                <i class="fa fa-tree"></i>
                                绿草如茵
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </nav>
        <!--END-用户操作-->
        <!--头部导航, 一般不使用-->
        <div id="bjui-hnav">
            <button type="button" class="btn-default bjui-hnav-more-left" title="导航菜单左移">
                <i class="fa fa-angle-double-left"></i>
            </button>
            <div id="bjui-hnav-navbar-box">
                <ul id="bjui-hnav-navbar">
                <?php foreach($__MENU__ as $oneKey => $oneMenus):?>
                    <!--一级导航-->
                    <li {$oneMenus['icon']=='home'?'class="active"':''}>
                        <!--一级导航-->
                        <?php if(checkRule($oneMenus['rule_name'])):?>
                        <a href="javascript:;" data-toggle="slidebar">
                            <i class="fa fa-<?php echo $oneMenus['icon']?$oneMenus['icon']:'coffee';?>"></i>
                            {$oneMenus.title}
                        </a>
                        <?php endif;?>
                        <!--二级导航菜单, 这里的内容和左侧菜单同步 data-tit="二级导航标题"-->
                        <?php if(@$oneMenus['_child']):?>
                        <div class="items hide" data-noinit="true">
                            <?php foreach($oneMenus['_child'] as $twoKey => $twoMenus):?>
                            <?php if(checkRule($twoMenus['rule_name'])):?>
                            <!-- 二级菜单 -->
                            <ul class="menu-items" data-faicon="<?php echo $twoMenus['icon']?$twoMenus['icon']:'th';?>" data-tit="{$twoMenus.title}" >
                                <?php if(@$twoMenus['_child']):foreach($twoMenus['_child'] as $threeKey => $threeMenus):?>
                                    <?php if(checkRule($threeMenus['rule_name'])):?>
                                    <li>
                                        <a href="{:U($threeMenus['url'],array('navTabId'=>'Menu'.$threeMenus['id']))}" data-options="{id:'Menu<?php echo $threeMenus['id'];?>', faicon:'<?php echo $threeMenus['icon']?$threeMenus['icon']:'caret-right';?>', fresh:<?php echo $threeMenus['ajaxload'] ? 'true' : 'false';?>}" >{$threeMenus.title}</a>
                                    </li>
                                    <?php endif;?>
                                <?php endforeach;else:?>
                                <li>
                                    <a href="{:U($twoMenus['url'],array('navTabId'=>'Menu'.$twoMenus['id']))}" data-options="{id:'Menu<?php echo $twoMenus['id'];?>', faicon:'<?php echo $twoMenus['icon']?$twoMenus['icon']:'caret-right';?>', fresh:<?php echo $threeMenus['ajaxload'] ? 'true' : 'false';?>}" >{$twoMenus.title}</a>
                                </li>
                                <?php endif;?>
                            </ul>
                            <?php endif;?>
                            <?php endforeach;?>
                        </div>
                        <?php endif;?>
                    </li>
                    <?php endforeach;?>
<!--                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="fa fa-cog"></i>
                            系统设置
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu" role="menu">
                            <li>
                                <a href="#">角色权限</a>
                            </li>
                            <li>
                                <a href="#">用户列表</a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="#">关于我们</a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="#">友情链接</a>
                            </li>
                        </ul>
                    </li> -->
                </ul>
            </div>
            <button type="button" class="btn-default bjui-hnav-more-right" title="导航菜单右移">
                <i class="fa fa-angle-double-right"></i>
            </button>
        </div>
        <!--ENS-头部导航, 一般不使用-->
    </header>
    <!--END-页眉-->
    <!--主体-->
    <div id="bjui-container" class="clearfix">
        <!--左侧菜单-->
        <div id="bjui-leftside">
            <!--未知1-->
            <div id="bjui-sidebar-s">
                <div class="collapse"></div>
            </div>
            <!--END-未知1-->
            <!--菜单内容-->
            <div id="bjui-sidebar">
                <div class="toggleCollapse">
                    <h2>
                        <i class="fa fa-bars"></i>
                        导航栏
                        <i class="fa fa-bars"></i>
                    </h2>
                    <a href="javascript:;" class="lock">
                        <i class="fa fa-lock"></i>
                    </a>
                </div>
                <!--具体菜单-->
                <div class="panel-group panel-main" data-toggle="accordion" id="bjui-accordionmenu"></div>
                <!--END-具体菜单-->
            </div>
            <!--END-菜单内容-->
        </div>
        <!--END-左侧菜单-->
        <!--工作区-->
        <div id="bjui-navtab" class="tabsPage">
            <!--工作区导航-->
            <div class="tabsPageHeader">
                <!--导航内容-->
                <div class="tabsPageHeaderContent">
                    <ul class="navtab-tab nav nav-tabs">
                    <!-- 我的主页 -->
                        <li></li>
                    </ul>
                </div>
                <!--导航内容-->
                <!--左侧按钮-->
                <div class="tabsLeft">
                    <i class="fa fa-angle-double-left"></i>
                </div>
                <!--左侧按钮-->
                <!--右侧按钮-->
                <div class="tabsRight">
                    <i class="fa fa-angle-double-right"></i>
                </div>
                <!--右侧按钮-->
                <!--更多按钮-->
                <div class="tabsMore">
                    <i class="fa fa-angle-double-down"></i>
                </div>
                <!--更多按钮-->
            </div>
            <!--END-工作区导航, 更多按钮对应-->
            <ul class="tabsMoreList">
                <li>
                    <a href="javascript:;">#maintab#</a>
                </li>
            </ul>
            <!--内容, 与tabsPageHeaderContent对应-->
            <div class="navtab-panel tabsPageContent">
                <div class="navtabPage unitBox">
                    <div class="bjui-pageContent" style="background:#FFF;">Loading...</div>
                </div>
            </div>
            <!--END-内容-->
        </div>
        <!--END-工作区-->
    </div>
    <!--END-主体-->
    <!--页脚-->
    <footer id="bjui-footer">
        <!-- Copyright @ 2015 新中冠 All Rights Resverved

         <script type="text/javascript">
         var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1252983288'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s23.cnzz.com/stat.php%3Fid%3D1252983288%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));
     </script>
     -->
    </footer>
    <!--END-页脚-->
</div>
<!--END-显示区-->
</body>
</html>